/**
 * 
 */
package com.dalonedrau.graph;

import com.dalonedrau.vectors.Vector2;

/**
 * @author Donald
 *
 */
public final class RiverNode extends NavGraphNode {
	public static final int TYPE_LAND = 0;
	public static final int TYPE_RIVER = 1;
	private int type;
	/**
	 * Creates a new instance of {@link RiverNode}.
	 * @param ind
	 * @param pos
	 * @param typ
	 * @throws Exception
	 */
	public RiverNode(int ind, Vector2 pos, final int typ) throws Exception {
		super(ind, pos);
		type = typ;
	}
	/**
	 * Gets the type 
	 * @return {@link int}
	 */
	public int getType() {
		return type;
	}

}
